﻿<%@ Page Language="C#" Theme="PAT_Theme" MasterPageFile="~/master/PAT.master" AutoEventWireup="true"  CodeFile="PatRolMenuEdit.aspx.cs" Inherits="PatRolMenuEdit" Title="PatRolMenu Edit" %>

<asp:Content ID="Content2" ContentPlaceHolderID="subHeaderContent" Runat="Server">Pat Rol Menu - Agregar/Editar</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" Runat="Server">
		<data:MultiFormView ID="FormView1" DataKeyNames="IdRol, IdMenu" runat="server" DataSourceID="PatRolMenuDataSource">
		
			<EditItemTemplatePaths>
				<data:TemplatePath Path="usercontrols/PatRolMenuFields.ascx" />
			</EditItemTemplatePaths>
		
			<InsertItemTemplatePaths>
				<data:TemplatePath Path="usercontrols/PatRolMenuFields.ascx" />
			</InsertItemTemplatePaths>
		
			<EmptyDataTemplate>
				<b>PatRolMenu not found!</b>
			</EmptyDataTemplate>
			
			<FooterTemplate>
				<asp:Button ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Crear" />
				<asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Actualizar" />
				<asp:Button ID="CancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancelar" />
			</FooterTemplate>

		</data:MultiFormView>
		
		<data:PatRolMenuDataSource ID="PatRolMenuDataSource" runat="server"
			SelectMethod="GetByIdRolIdMenu"
		>
			<Parameters>
				<asp:QueryStringParameter Name="IdRol" QueryStringField="IdRol" Type="String" />
<asp:QueryStringParameter Name="IdMenu" QueryStringField="IdMenu" Type="String" />

			</Parameters>
		</data:PatRolMenuDataSource>
		
		<br />


</asp:Content>

